﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Routing;
using Vit.Web.Mvc.Filters;

namespace Vit.Web
{
    public interface IModule
    {
        void Initialize();
        void Unload();
        void RegisterRoutes(RouteCollection routes);
        void RegisterCatchAllRoutes(RouteCollection routes);
        void RegisterFilters(IFilterRegistry filterRegistry);
        void RegisterModelBinders(ModelBinderDictionary modelBinders);
        void RegisterWithContainer();
    }
}
